home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 June / EnigmA AMIGA RUN 08 (1996)(G.R. Edizioni)(IT)[!][issue 1996-06][EARSAN CD VII].iso / earcd / gui / gtldv374.lha / GadUtil / Docs / AutoDocs / 34.GU_LayoutMenuItemsA < prev    next >
Text File  |  1996-05-14  |  1KB  |  34 lines

  1. gadutil.library/GU_LayoutMenuItemsA       gadutil.library/GU_LayoutMenuItemsA
  2.  
  3.    NAME
  4.     GU_LayoutMenuItemsA -- Position all the menu items.
  5.  
  6.    SYNOPSIS
  7.     success = GU_LayoutMenuItemsA(menuitem, vi, tags)
  8.     D0                            A0        A1  A2
  9.  
  10.     BOOL GU_LayoutMenuItemsA(struct MenuItem *, APTR, struct TagItem *);
  11.  
  12.    FUNCTION
  13.     Lays out all the menu items and sub-items according to
  14.     the supplied visual information and tag parameters. You would use this
  15.     if you used CreateMenusA() to make a single menu-pane (with sub-items,
  16.     if any), instead of a whole menu strip.
  17.     This routine attempts to columnize and/or shift the MenuItems in
  18.     the event that a menu would be too tall or too wide.
  19.  
  20.    INPUTS
  21.     menuitem - Pointer to the first MenuItem in a linked list of items.
  22.     vi       - Pointer returned by GU_GetVisualInfoA().
  23.     tags     - Pointer to an array of tags providing optional extra
  24.                information.
  25.  
  26.    TAGS
  27.     See gadtools/LayoutMenuItemsA() for tags.
  28.  
  29.    RESULT
  30.     success  - TRUE if successfull, FALSE otherwise.
  31.  
  32.    SEE ALSO
  33.     GU_CreateMenusA(), GU_GetVisualInfoA(), gadtools/LayoutMenuItemsA()
  34.